#! /bin/bash
git_username="stillbreeze"
git_password="bc30c3ef03352090f15965f40ba77cbd"
git_url="https://gitee.com/stillbreeze/springboot.git"
echo "正在创建访问凭证...."
git remote set-url origin https://${git_username}:${git_password}@${git_url#https://}
echo "正在执行git pull..."
git pull
echo "清除凭证信息..."
git remote set-url origin $git_url
echo "成功"
